package com.dream.inspect.modules.business.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.dream.inspect.modules.business.entity.SuperviseTargetEntity;

/**
 * 督察对象表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-06-16 17:04:55
 */
public interface SuperviseTargetDao extends BaseMapper<SuperviseTargetEntity> {

	List<SuperviseTargetEntity> findSuperviseTargetList(@Param("ew") Wrapper<SuperviseTargetEntity> wrapper, 
			@Param("currPage") int currPage,
            @Param("pageSize") int pageSize);
	
	int findSuperviseTargetListCount(@Param("ew") Wrapper<SuperviseTargetEntity> wrapper);
	
	int deleteSuperviseTargetByCondition(@Param("stEnity") SuperviseTargetEntity stEntity);

	void updateSsStatus(@Param("s") SuperviseTargetEntity stEntity);
	List<SuperviseTargetEntity> getNoExecuteProjectListById(@Param("pId") String id);
	List<SuperviseTargetEntity> getExecuteProjectListById(@Param("map") Map<String, Object> map);



}
